package com.lovo.system.mapper;

import com.lovo.system.dto.count.SaleMonthDto;
import com.lovo.system.dto.count.SaleTypeDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SaleStatisticMapper {

    List<SaleTypeDto> selectType(@Param("startTime")String startTime,@Param("endTime")String endTime);

    List<SaleTypeDto> selectBrand(@Param("startTime")String startTime,@Param("endTime")String endTime);

    List<SaleTypeDto> selectMonth(@Param("year") String year);

}
